package IHM;
/**
 * @(#) IHM.java
 */

//package nextedit;

import Commande.Commande;
import Debog.Debog;

public abstract class IHM extends Debog implements InterfaceIHM
{
        public abstract String gettext( );
        protected String DEFAULTPATH;
        protected String encodage;
     	public void setDefaultPath(String Path){
       		DEFAULTPATH=Path;
       	}
        protected Commande[] command ;
        public void setCom(Commande[] com){
                command=com;
        }
        public void exec(int i){
                command[i].execute();
        }
		public String getEncodage() {
			return encodage;
		}
		protected void setEncodage(String enc) {
			encodage=enc;
		}
    
}